//
//  PKAticleDetailModel.m
//  PianKe
//
//  Created by lanou on 15/10/10.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import "PKAticleDetailModel.h"

@implementation PKAticleDetailModel
-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"shareinfo"]) {
      PKReadShareInfo *shareInfoModel=[[PKReadShareInfo alloc]init];
        [shareInfoModel setValuesForKeysWithDictionary:value    ];
    }
    else if ([key isEqualToString:@"userinfo"])
    {
        PKUSerInfo *userinfoModel=[[PKUSerInfo alloc]init];
        [userinfoModel setValuesForKeysWithDictionary:value];
    }
    else if ([key isEqualToString:@"typeid"])
    {
        self.typeID=(NSInteger)value;
    }
else if ([key isEqualToString:@"typename"])
{
    self.typeName=value;
}
    else
    {
        [super setValue:value forKey:key];
    
    }
}
@end
